package org.hang.gift.dto;

import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
public class UpdateSelectDTO {

    @NotNull(message = "网络异常,请刷新重试!")
    private Long shopCarId;

    @NotNull(message = "网络异常,请刷新重试!")
    private Long skuId;

    @NotNull(message = "网络异常,请刷新重试!")
    private Boolean selected;  //选中状态

    private Long userId = 16L;

    public boolean getSelect(){
        return selected;
    }

}
